package javaClassExercise.javaInterface;


/**
 * Created by lomo on 2017.
 */


public abstract class peopleAction implements actionList{


    peopleAction() {
        System.out.println("Author: " + author);
    }

    //重写的方法必须加修饰符，因为这在类中！
    public void eat() {

    }

    void eat(String s) {
        System.out.println("i ate" + s);
    }

    public void listen(String s) {
        System.out.println("i listened" + s);
    }

    public void walk(Double s) {

    }

    public Integer studyScore(int num) {
        return num;
        //System.out.println("i get score: " + num);
    }


    protected abstract String abstractTestMethod(String s);


}
